import {createApp} from "vue"
import App from "./App.vue"
import router from "./router"
import "./style.css"
import "./assets/icon/iconfont.css"
import ElementPlus from 'element-plus' //全局引入
import 'element-plus/dist/index.css'
import axios from 'axios'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import dayjs from "dayjs"

export const httpUrl = "http://localhost:8080"
const app = createApp(App);
app.config.globalProperties.$axios = axios
app.use(ElementPlus, { size: "default", locale: zhCn, });
app.config.globalProperties.$dayjs=dayjs
app.use(router);
app.mount("#app")